package com.dreamwhale.machinery.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户提现
 * </p>
 *
 * @author Author
 * @since 2020-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yx_user_withdraw")
public class YxUserWithdraw implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 提现id
     */
    @TableId(value = "withdraw_id", type = IdType.AUTO)
    private Integer withdrawId;

    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 支付宝账号
     */
    private String withdrawCard;

    /**
     * 支付宝名称
     */
    private String withdrawName;

    /**
     * 提现金额
     */
    private BigDecimal withdrawPrice;

    /**
     * 审核状态(1.未审核2.审核通过3.审核不通过)
     */
    private Integer withdrawType;

    /**
     * 不通过原因
     */
    private String withdrawCause;

    /**
     * 是否删除(1.是2.否)
     */
    private Integer withdrawDel;

    /**
     * 创建时间
     */
    private LocalDateTime withdrawCreateTime;

    /**
     * 审核时间
     */
    private LocalDateTime withdrawTime;


}
